import Layout from '@/layout/index.vue';

export default {
    path: '/manage',
    name: 'manage',
    component: Layout,
    redirect: '/manage/dashboard',
    children: [
      {
        name: 'dashboard',
        path: 'dashboard',
        component: () => import('@/views/dashboard/index.vue'),
        meta: { title: '数据仪表盘', iconName: 'el-icon-data-line', requireAuth: [1, 2, 3, 4] },
      },
      {
        name: 'myRelease',
        path: 'myRelease',
        component: () => import('@/views/my-release/index.vue'),
        meta: { title: '发布核验需求', iconName: 'el-icon-tickets', requireAuth: [1, 2] },
      },
      {
        name: 'myReceive',
        path: 'myReceive',
        component: () => import('@/views/my-receive/index.vue'),
        meta: { title: '接受核验需求', iconName: 'el-icon-s-claim', requireAuth: [1, 2] },
      },
      {
        name: 'releaseCenter',
        path: 'releaseCenter',
        component: () => import('@/views/release-center/index.vue'),
        meta: { title: '核验中心', iconName: 'el-icon-school', requireAuth: [1, 2] },
      },
      {
        name: 'deposit',
        path: 'deposit',
        component: () => import('@/views/deposit/index.vue'),
        meta: { title: '公证书上链存证', iconName: 'el-icon-connection', requireAuth: [1, 2, 3] },
      },
      {
        name: 'notarizaCheck',
        path: 'notarizaCheck',
        component: () => import('@/views/notariza-check/index.vue'),
        meta: { title: '公证书共识校验', iconName: 'el-icon-postcard', requireAuth: [1, 2, 3] },
      },
      {
        name: 'notarizatManage',
        path: 'notarizatManage',
        component: () => import('@/views/notarizat-manage/index.vue'),
        meta: { title: '机构管理', iconName: 'el-icon-office-building', requireAuth: [1] },
      },
      {
        name: 'userManage',
        path: 'userManage',
        component: () => import('@/views/user-manage/index.vue'),
        meta: { title: '用户管理', iconName: 'el-icon-user', requireAuth: [1] },
      },
      {
        name: 'myNotarial',
        path: 'myNotarial',
        component: () => import('@/views/my-notarial/index.vue'),
        meta: { title: '我的公证处', iconName: 'el-icon-user', requireAuth: [1, 2], hidden: true},
      },
    ]
  }